-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ABW-2743] Create basic UI for bottom sheet to access factor sources #750
[ABW-2743] Create basic UI for bottom sheet to access factor sources #750
Conversation
03fa8d1
to
3da3bed
Compare
7f89447
to
92399bf
Compare
39212ed
to
7dbd00a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👌! I would personally remove the ...BottomSheet
notion from the composable's name since, in my opinion is an implementation detail.
@@ -87,6 +87,10 @@ class MainViewModel @Inject constructor( | |||
.events | |||
.filterIsInstance<AppEvent.Status>() | |||
|
|||
val accessFactorSourceEvents = appEventBus | |||
.events | |||
.filterIsInstance<AppEvent.AccessFactorSource.ToCreateAccount>() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe .filterIsInstance<AppEvent.AccessFactorSource>()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
I am always open for better names!! |
) { | ||
BottomSheetDialogWrapper( | ||
modifier = modifier, | ||
onDismiss = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lambda not needed here ? can be just onDismiss = onDismiss
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true. will change in the next PR
af736ef
to
688feb7
Compare
) { | ||
Text( | ||
style = RadixTheme.typography.title, | ||
text = stringResource(id = R.string.derivePublicKeys_titleCreateAccount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be parametrized to reflect use context of the dialog?
5376eb4
to
e525b75
Compare
contains basic screen, viewmodel, and its navgraph
the new CreateAccountUseCase
when purpose is to derive public key
AccessFactorSourcesViewModel
…sources-create-accounts [ABW-2744] Access factor sources refactoring - create accounts
Quality Gate failedFailed conditions |
Description
This is the first PR of the ABW-2743 ticket and contains
HandleStatusEvents
Another chained PR will follow. The next PR will contain logic for the
How to test
No need to test. The app should run as expected.
Screenshot
In the next PR
PR submission checklist